package com.atguigu.spring5.service;

import com.atguigu.spring5.dao.UserDao;
import com.atguigu.spring5.dao.UserDaoImpl;

/**
 * @author dengzhao
 * @create 2021-12-07 20:54
 */
public class UserService {


    private UserDao userDao;


    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    public void add(){
        System.out.println("UserService add............");

        userDao.update();
    }



}
